﻿namespace CSW.Framework.Linq
{
    /// <summary>
    /// Provides public access to otherwise protected/private members. Used by data loaders.
    /// </summary>
    public interface IBusinessObjectLinqPublic
    {
        /// <summary>
        /// 
        /// </summary>
        bool m_IsNew { get; set; }

        /// <summary>
        /// 
        /// </summary>
        void BeginLoading();

        /// <summary>
        /// 
        /// </summary>
        void EndLoading();

        /// <summary>
        /// 
        /// </summary>
        bool PropertiesInitialized { get; }
    }
}
